#函数
import random
def comparNum(num1,num2):
    if(num1>num2):
        return 1
    elif(num1==num2):
        return 0
    else:
        return -1
if __name__ == '__main__':
    num1=random.randrange(1, 9)
    num2=random.randrange(1, 9)
    print(num1)
    print(num2)
    print(comparNum(num1,num2))
